Dynomotion

Group: DynoMotion Message: 14790 From: tmday7 Date: 5/19/2017
Subject: Automatic Simulate to a screen
Hi Tom,
 Got a new idea. :)
Using the custom Dual Pane screen set.I have dedicated the DualPane3AxisSplit to be Graphics/G Viewer only. Just for Simulating Gcode.

What would be nice is when user goes to this screen(DualPane3AxisSplit), it would automatically set it to Simulate and when user goes to one of the other 2 screens, simulate would be switched off.
Is this doable with the screen editor?

Thanks,
Troy


Group: DynoMotion Message: 14792 From: tmday7 Date: 5/19/2017
Subject: Re: Automatic Simulate to a screen
Here is a little video of mill in action with custom screen set so far.
https://youtu.be/ccumTBjzOVc

Troy
Group: DynoMotion Message: 14793 From: mmurray70@hotmail.com Date: 5/20/2017
Subject: Re: Automatic Simulate to a screen
Nice work. That machine is pretty quick for that style machine!

Try plunging straight in with a 2fl at 0.020 per rev or higher and you will most likely eliminate the birds nest around the tool. You need to make huge, heavy chips with plastic to make chips fly away from tool. Still may have to peck once or twice depending on depth. 
Group: DynoMotion Message: 14798 From: tmday7 Date: 5/22/2017
Subject: Re: Automatic Simulate to a screen
It use to be faster 400IPM, but made machine start dancing around on floor. So i backed it down to 240IPM. ;)

I would normally use a 2 flute for this but iam limited to on my spindle RPM to 3800.Usually i use air blast to keep chips from nesting, but for viewers ears sake i left it off this time :)
Group: DynoMotion Message: 14799 From: tmday7 Date: 5/22/2017
Subject: Re: Automatic Simulate to a screen
Tom,
 Could a script be added to each of my 3 screen buttons so 1(Graphics) button would turn on simulate and the other 2 (Auto,Manual) buttons would turn off Simulate when selected?

Thanks,
Troy
Group: DynoMotion Message: 14807 From: Tom Kerekes Date: 5/22/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

We're working on it.  Please give us some time.   We should have a Screen Edit patch soon that does the following:

#1 Allows a new Action/Script Type called WinMsg (which allows a button to send a standard Windows Message to any Control).  The way Microsoft Windows fundamentally works is everything (Buttons, Dialogs, etc...) is a "Window" that can receive messages to do things.  Initially we just support sending Button Check or Uncheck messages.

#2 Buttons can send WinMsgs when pushed or Labels can send WinMsgs when Loaded.

#3 Edit Controls now only set Text when the Edit Control is completely empty.  This should allow you to specify the initial text when the Screen is first loaded, but then that text or any text entered by the Operator should persist when switching screens.  The Same Edit Control must be used on all possible screens for the same thing (even if hidden or shown).

#4 New feature in KMotionCNC Screen Editor - Copy/Paste.  This can be used to copy all the settings for one control to another control (except its XY position).  To do this select the source control then "copy" then select a single target control and select "paste".  Copy/paste can also be used to configure a set of identical controls on one screen script to another screen script.   To do this select one or more controls on the source screen and select "copy".  Then load/read the new screen and without selecting anything select "copy"  the same controls as selected in the source screen will be configured in the same exact manner in the destination screen.

Rregards
TK

On 5/22/2017 10:34 AM, tmday88@... [DynoMotion] wrote:
 

Tom,
 Could a script be added to each of my 3 screen buttons so 1(Graphics) button would turn on simulate and the other 2 (Auto,Manual) buttons would turn off Simulate when selected?

Thanks,
Troy


Group: DynoMotion Message: 14809 From: tmday7 Date: 5/22/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
 WOW! you all go above and beyond Tom. lol . #4 was something else i was gonna ask. :) This looks awesome. Sorry if i come across impatient. Dont mean to be.

Thanks again,
Troy
Group: DynoMotion Message: 14813 From: Tom Kerekes Date: 5/26/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

Here is a patch that supports the 4 new features listed previously.

http://dynomotion.com/Software/Patch/AddScreenScriptWinMsgPersistTextCopyPasteV434i/

Please let me know if you have any issues.

Regards
TK


On 5/22/2017 11:01 AM, Tom Kerekes wrote:

Hi Troy,

We're working on it.  Please give us some time.   We should have a Screen Edit patch soon that does the following:

#1 Allows a new Action/Script Type called WinMsg (which allows a button to send a standard Windows Message to any Control).  The way Microsoft Windows fundamentally works is everything (Buttons, Dialogs, etc...) is a "Window" that can receive messages to do things.  Initially we just support sending Button Check or Uncheck messages.

#2 Buttons can send WinMsgs when pushed or Labels can send WinMsgs when Loaded.

#3 Edit Controls now only set Text when the Edit Control is completely empty.  This should allow you to specify the initial text when the Screen is first loaded, but then that text or any text entered by the Operator should persist when switching screens.  The Same Edit Control must be used on all possible screens for the same thing (even if hidden or shown).

#4 New feature in KMotionCNC Screen Editor - Copy/Paste.  This can be used to copy all the settings for one control to another control (except its XY position).  To do this select the source control then "copy" then select a single target control and select "paste".  Copy/paste can also be used to configure a set of identical controls on one screen script to another screen script.   To do this select one or more controls on the source screen and select "copy".  Then load/read the new screen and without selecting anything select "copy"  the same controls as selected in the source screen will be configured in the same exact manner in the destination screen.

Rregards
TK

On 5/22/2017 10:34 AM, tmday88@... [DynoMotion] wrote:
 

Tom,
 Could a script be added to each of my 3 screen buttons so 1(Graphics) button would turn on simulate and the other 2 (Auto,Manual) buttons would turn off Simulate when selected?

Thanks,
Troy



Group: DynoMotion Message: 14815 From: tmday7 Date: 5/26/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy
  @@attachment@@
Group: DynoMotion Message: 14820 From: Tom Kerekes Date: 5/27/2017
Subject: Re: Automatic Simulate to a screen [3 Attachments]
Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

On May 26, 2017, at 4:12 PM, tmday88@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Group: DynoMotion Message: 14835 From: tmday7 Date: 6/2/2017
Subject: Re: Automatic Simulate to a screen

Hi Tom,

 Tried out new patch.

I set the Simulate label/text on the DualPane3AxisCode(AUTO) screen to UnCheck the Simulate checkbox. Then set the Simulate label/text on DualPane3AxisSplit(GRAPHICS) screen to Check the Simulate checkbox. Both are working as they should when i navigate/load screen, but, there is a Kmotion window that pops up stating "Enter a Number." with an OK button. Once i click OK pop up window goes away.

I used the KmotionCNC.exe from Patch folder FixCheckboxMesg_40SpareEdit_EditPersists_V434i and all of other files from Patch folder AddScreenScriptWinMsgPersistTextCopyPasteV434i.

Did i use a wrong file?


Thanks,

Troy




"Troy/Tapio/Others,

Here is another Screen Editor Patch

http://dynomotion.com/Software/Patch/FixCheckboxMesg_40SpareEdit_EditPersists_V434i/KMotionCNC.exe

Fix issue with Action Messages to Checkboxes checking/unchecking the checkbox but not changing underlying variable.
Persist Edit Controls between sessions.  Saved to <>\KMotion\Data\EditControlPersist.txt
Increase number of spare edit controls from 20 to 40

Please let me know if there are issues.
Regards
TK"
Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Group: DynoMotion Message: 14836 From: tmday7 Date: 6/2/2017
Subject: Re: Automatic Simulate to a screen
Tom,
 Also when i click the Run button to simulate run Gcode, i get the same pop up window and gcode does not simulate.

Troy
Group: DynoMotion Message: 14837 From: Tom Kerekes Date: 6/3/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

I'm having difficulty reproducing that problem.

It seems one edit control (for FRO or SSO) somehow doesn't have a valid numeric value.  After the Pop-up Error the focus should jump to that Edit control.  Do you have one of those hidden?  Even if so I'm not sure how it ended up invalid. 

The files you used should have been correct.  I forgot you needed the previous patch of KMotionCNCScreenEditor.exe to be able to set the check/uncheck message.

The files resource.h and KMotionCNC.rc from the last patch should be copied to the C:\KMotion434i\KMotion\Release directory in order for the 20 new spare edits to work correctly, but that shouldn't cause this problem.

Although your description is quite good If/when you have time maybe you could provide a complete step-by-step that shows the problem.  Maybe staring from a scratch V4.34i.  Or maybe I need your Screen Scripts.

Thanks

TK


On 6/2/2017 7:18 AM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,

 Tried out new patch.

I set the Simulate label/text on the DualPane3AxisCode(AUTO) screen to UnCheck the Simulate checkbox. Then set the Simulate label/text on DualPane3AxisSplit(GRAPHICS) screen to Check the Simulate checkbox. Both are working as they should when i navigate/load screen, but, there is a Kmotion window that pops up stating "Enter a Number." with an OK button. Once i click OK pop up window goes away.

I used the KmotionCNC.exe from Patch folder FixCheckboxMesg_40SpareEdit_EditPersists_V434i and all of other files from Patch folder AddScreenScriptWinMsgPersistTextCopyPasteV434i.

Did i use a wrong file?


Thanks,

Troy




"Troy/Tapio/Others,

Here is another Screen Editor Patch

http://dynomotion.com/Software/Patch/FixCheckboxMesg_40SpareEdit_EditPersists_V434i/KMotionCNC.exe

Fix issue with Action Messages to Checkboxes checking/unchecking the checkbox but not changing underlying variable.
Persist Edit Controls between sessions.  Saved to <>\KMotion\Data\EditControlPersist.txt
Increase number of spare edit controls from 20 to 40

Please let me know if there are issues.
Regards
TK"
Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy

Hi Troy,

Thanks for the good description. Seems like Checking/Unchecking the control doesn't change the underlying member variable that effects other functions. And maybe another bug. Give us some time to look into it. 

Regards
TK

Show message history

Hi Tom,
New screen edits is looking great. Can see the potential with it. :)
 Here is what i tried to do on my desktop PC with no KFLOP installed.
On my Graphics Screen(DualPane3AxisCode.scr) i set the Simulate Label to check simulate box. Then on my Auto Screen(DualPane3AxisSplit.scr) i set Simulate label to UnCheck simulate check box.

When i go to Graphics screen the Simulate check box is checked but axis DROs are still yellow. Once i click the simulate Run button the G viewer shows the simulation and after this the axis DROs turn white.

Next i go to my Auto screen and axis DROs are still white and when clicking Play/CycleStart button nothing happens. I would expect to get a pop up stating i dont have a device connected. But it appears that the simultae mode is still active. After this i closed KMotionCNC and Screen Editor and launched KMCNC. Tried to see if toggle state would go off and still will not. Once i launched Screen Editor i got a KMotion pop up window stating "Invalid WinMsg Message Code:BM_SETCHECK".
After clicking OK i get a KMotionCNC pop up stating"Error Sending Screen Load Label Action/Script/WinMsg. ID:IDC_SimulateStatic WinMsg:DlgName:IDC_Simulate:BM_SETCHECK;BST_UNCHECKED"

Should i be doing this another way?

Attached is screen shots of my custom screens.

Thanks,
Troy


Group: DynoMotion Message: 14838 From: tmday7 Date: 6/3/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
 I copied and replaced the resource.h and KMotionCNC.rc files in the C:\KMotion434i\PC VC Examples\KMotionCNC directory. After you posted they should be in the C:\KMotion434i\KMotion\Release directory i did so , but still get same pop up.
Attached is my screen script files.

Will try fresh install of KmotionV4.34i.

Thanks,
Troy
  @@attachment@@
Group: DynoMotion Message: 14839 From: TKSOFT Date: 6/3/2017
Subject: Re: Automatic Simulate to a screen [1 Attachment]
Hi Troy,

Oops. Those files should overwrite the ones in C:\KMotion434i\PC VC
Examples\KMotionCNC.

I will try your screen scripts.

Thanks
TK

On 2017-06-03 11:50, tmday88@... [DynoMotion] wrote:
> [Attachment(s) from tmday88@... [DynoMotion] included below]
>
> Hi Tom,
> I copied and replaced the resource.h and KMotionCNC.rc files in the
> C:\KMotion434i\PC VC Examples\KMotionCNC directory. After you posted
> they should be in the C:\KMotion434i\KMotion\Release directory i did
> so , but still get same pop up.
> Attached is my screen script files.
>
> Will try fresh install of KmotionV4.34i.
>
> Thanks,
> Troy
>
>
Group: DynoMotion Message: 14840 From: tmday7 Date: 6/3/2017
Subject: Re: Automatic Simulate to a screen [1 Attachment]
Ok. I reinstalled Kmotion V4.34i and used the "default" custom split screens. Then added the message as before and all works as it should, checking and unchecking Simulate checkbox with no pop up. Then i replaced default custom screens with mine and i get the pop up again.
Troy
Group: DynoMotion Message: 14841 From: tmday7 Date: 6/3/2017
Subject: Re: Automatic Simulate to a screen [1 Attachment]
I have switched back to the default custom split screens because of another issue. After i set the Simulate labels to set Simulate checkbox and Uncheck all works with no pop up. Then i close screen editor and KMotionCNC. Re start KmotionCNC test screens and all works as it should with no pop up. After this i launch Screen Editor and Read/load screen script DualPane3AxisCode.scr i get an error window from KMotionCNC first then after i click ok i get a 2nd error window from Screen Editor. See pics.

Thanks,
Troy
  @@attachment@@
Group: DynoMotion Message: 14843 From: Tom Kerekes Date: 6/5/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

The "pop up" turned out to be caused by the SSO Edit Control being hidden and persisting to empty (invalid number).

The SSO and FRO are special in that they change programmable from KFLOP or the Slider so whatever text is in the Screen Script is ignore for those controls.

The Patch files have been updated.  The SSO and FRO controls now default to "1" on program load (I think it is best that they don't persist between sessions).

Please try the updated Patch still at this link:

http://dynomotion.com/Software/Patch/FixCheckboxMesg_40SpareEdit_EditPersists_V434i/

Thanks.
TK


On 6/3/2017 12:30 PM, tmday88@... [DynoMotion] wrote:
 

Ok. I reinstalled Kmotion V4.34i and used the "default" custom split screens. Then added the message as before and all works as it should, checking and unchecking Simulate checkbox with no pop up. Then i replaced default custom screens with mine and i get the pop up again.
Troy


Group: DynoMotion Message: 14846 From: tmday7 Date: 6/5/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
 Did you see my post a few posts back?
https://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/14841
After the latest patch iam still getting the error windows i posted pictures of in the above link, with default custom screens.

Thanks,
Troy
Group: DynoMotion Message: 14847 From: Tom Kerekes Date: 6/5/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

Yes I actually did.  I wasn't able to reproduce either with the previous patch or the current (new) patch.

Your description was pretty clear I thought I followed your exact steps.

Please try again with the latest patch.  If it still occurs please post the modified Screen Script.  Then I should only need to set KMotionCNC to use it then open the Screen Editor and load the same Script to see the error.

Thanks

TK


On 6/5/2017 5:08 PM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 Did you see my post a few posts back?
https://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/14841
After the latest patch iam still getting the error windows i posted pictures of in the above link, with default custom screens.

Thanks,
Troy


Group: DynoMotion Message: 14848 From: tmday7 Date: 6/5/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
 I still get same error with latest patch. Also tried with my custom screens and get same error. I  read my post again and my steps are not totally clear.
 Here is my steps at creating error windows.

1. Launch KMotionCNC
2. Launch Screen Editor
3. Read/Load script file DualPane3AxisCode.scr
4. Click the Simulate label/text and set to Uncheck Simulate check box IDC_Simulate.
5. Click Set on window
6. Click  Set on Screen editor
7. Write/Save Script file as DualPane3AxisCode.scr
8.Repeat above steps starting at step 3 for screen/script file DualPane3AxisView.scr except set Simulate label/text to Check.

9. Close Screen editor and then KmotionCNC
10. Launch KMotionCNC
11. Launch Screen Editor
12. Read/Load script file DualPane3AxisCode.scr.
And this is where i get first window, it actually pops up behind the Screen Editor and screen editor appears to be hanging on loading script file until you click OK on error window for KMotionCNC. After this the second error window pops up over Screen Editor. Once you click OK on this error, Screen editor works fine with no error windows until you try to load DualPane3AxisCode.scr again.
Attached is the default customs screens with the set checkbox Checked and Unchecked message already added.

I think thats all of my steps :) If this fails to reproduce for you i will make a screen capture video and see if you catch something iam missing.

Thanks,
Troy
  @@attachment@@
Group: DynoMotion Message: 14849 From: Tom Kerekes Date: 6/5/2017
Subject: Re: Automatic Simulate to a screen [3 Attachments]

Hi Troy,

Hmmm.  Still don't see it :{

There was one detail omitted in your sequence that was what Screen Script KMotionCNC was set to when you first started and maybe later.

BTW I did change the Patch now so the error popup should display the bad Parameter (BST_UNCHECKED) that it is complaining it doesn't see, rather than the Message BM_SETCHECK.  That might tell us something new.  Strange how the error is supposed to occur when the script is wrong, then then shows the script looking all correct.

Anyway here is what I did:

#1 Fresh install KMotion434i

#2 Apply 4 patch files (KMotionCNC.exe, KMotionCNCScreenEditor.exe, resources.h KMotionCNC.rc)

#3 Overwrite the 3 modified Screen Scripts from your Last Email

#4 Run KMotionCNC.exe (with KFLOP connected - although tried both ways)

#5 Set the Screen Face to Custom = Add.scr (tried others but thought this old one might best trigger the issue)

#6 Run Screen Editor

#7 Read/Load script file DualPane3AxisCode.scr

no error popup

I also tried your sequence to create the modified scripts but didn't get the error and don't see how making them or using yours should be different.

Regards

TK


On 6/5/2017 7:11 PM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 I still get same error with latest patch. Also tried with my custom screens and get same error. I  read my post again and my steps are not totally clear.
 Here is my steps at creating error windows.

1. Launch KMotionCNC
2. Launch Screen Editor
3. Read/Load script file DualPane3AxisCode.scr
4. Click the Simulate label/text and set to Uncheck Simulate check box IDC_Simulate.
5. Click Set on window
6. Click  Set on Screen editor
7. Write/Save Script file as DualPane3AxisCode.scr
8.Repeat above steps starting at step 3 for screen/script file DualPane3AxisView.scr except set Simulate label/text to Check.

9. Close Screen editor and then KmotionCNC
10. Launch KMotionCNC
11. Launch Screen Editor
12. Read/Load script file DualPane3AxisCode.scr.
And this is where i get first window, it actually pops up behind the Screen Editor and screen editor appears to be hanging on loading script file until you click OK on error window for KMotionCNC. After this the second error window pops up over Screen Editor. Once you click OK on this error, Screen editor works fine with no error windows until you try to load DualPane3AxisCode.scr again.
Attached is the default customs screens with the set checkbox Checked and Unchecked message already added.

I think thats all of my steps :) If this fails to reproduce for you i will make a screen capture video and see if you catch something iam missing.

Thanks,
Troy


Group: DynoMotion Message: 14850 From: tmday7 Date: 6/6/2017
Subject: Re: Automatic Simulate to a screen [3 Attachments]
Hi Tom,
 I tried new patch at work and have no pop ups at all. All works good. Maybe something got corrupted when downloading patch at home.(slow internet). Will try to reinstall again on home PC and use patch files downloaded at work place. You said you applied 4 patch files. I have been applying all 10 patch files. Should i only apply the 4?

Thanks again,
Troy
Group: DynoMotion Message: 14851 From: Tom Kerekes Date: 6/6/2017
Subject: Re: Automatic Simulate to a screen
Hi Troy,

Hmmm.   

The other source files are only needed to recompile KMotionCNC. To just run KMotionCNC they aren't needed and shouldn't make any difference if changed or not. 

Regards. 

TK

On Jun 6, 2017, at 5:07 AM, tmday88@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,
 I tried new patch at work and have no pop ups at all. All works good. Maybe something got corrupted when downloading patch at home.(slow internet). Will try to reinstall again on home PC and use patch files downloaded at work place. You said you applied 4 patch files. I have been applying all 10 patch files. Should i only apply the 4?

Thanks again,
Troy

Group: DynoMotion Message: 14857 From: tmday7 Date: 6/6/2017
Subject: Re: Automatic Simulate to a screen [3 Attachments]
Hi Tom,
 So i tried to reinstall and add new patch like i did at work to my desktop at home and still get error pop ups. Next i tried a  new desktop iam building that has nothing but a couple apps installed. Installed V4.34i and patch and get same pop up issue. You think it might be a Windows 7 update issue?

Thanks,
Troy
Group: DynoMotion Message: 14859 From: Tom Kerekes Date: 6/6/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

Strange.  My system is a W10 64.  I tried it on a W7 32bit and also don't see a problem.

Did the pop up message change?

Regards

TK


On 6/6/2017 6:11 PM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 So i tried to reinstall and add new patch like i did at work to my desktop at home and still get error pop ups. Next i tried a  new desktop iam building that has nothing but a couple apps installed. Installed V4.34i and patch and get same pop up issue. You think it might be a Windows 7 update issue?

Thanks,
Troy


Group: DynoMotion Message: 14860 From: tmday7 Date: 6/7/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,
I installed patch on mill PC at work and get no pop up errors, all works good. Next i installed KMotionV4.34i and patch on a laptop at work and get pop up errors. The first pop up message is different than the original pop up that i posted before. See attached pics.

Troy
  @@attachment@@
Group: DynoMotion Message: 14861 From: tmday7 Date: 6/7/2017
Subject: Re: Automatic Simulate to a screen
Tom,
 A couple things i noticed with pop ups is on the second pop up for Screen Editor, It states ID:IDC_SimulateStatic. I selected IDC_Simulate not IDC_SimulateStatic which is next option below IDC_Simulate.

Another thing is same pop up states ;BM_SETCHECK;BST_UNCHECKED. But when selecting parameter option in drop down they are labled as BST_SETCHECKED and BST_UNCHECKED
Dont have a clue, just something i noticed. :)

Troy
Group: DynoMotion Message: 14862 From: Tom Kerekes Date: 6/7/2017
Subject: Re: Automatic Simulate to a screen [2 Attachments]

Hi Troy,

That new message gives a clue: the Param string has some garbage characters at the end like it wasn't properly null lterminated after being sent from the screen editor to KMotionCNC.

KMotionCNCScreenEditor.exe has been updated in the patch to include 1 more byte in the message it sends so it might now be properly terminated.

Please try the new KMotionCNCScreenEditor.exe to see if it makes any difference.

Thanks

TK



On 6/7/2017 7:24 AM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
I installed patch on mill PC at work and get no pop up errors, all works good. Next i installed KMotionV4.34i and patch on a laptop at work and get pop up errors. The first pop up message is different than the original pop up that i posted before. See attached pics.

Troy


Group: DynoMotion Message: 14865 From: tmday7 Date: 6/7/2017
Subject: Re: Automatic Simulate to a screen [2 Attachments]
Hi Tom,
 That fixed it on my home PC. Will try the others tomorrow. Sorry i didnt pay attention to the windows earlier, could of saved you the extra work. :}

Thanks,
Troy
Group: DynoMotion Message: 14866 From: Tom Kerekes Date: 6/7/2017
Subject: Re: Automatic Simulate to a screen

Fingers crossed...

TK


On 6/7/2017 7:19 PM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,
 That fixed it on my home PC. Will try the others tomorrow. Sorry i didnt pay attention to the windows earlier, could of saved you the extra work. :}

Thanks,
Troy


Group: DynoMotion Message: 14867 From: tmday7 Date: 6/8/2017
Subject: Re: Automatic Simulate to a screen
Hi Tom,

All looks good. :)

Thanks,
Troy
Group: DynoMotion Message: 14870 From: Tom Kerekes Date: 6/8/2017
Subject: Re: Automatic Simulate to a screen

Hi Troy,

Thanks for your help and patience with this.

Regards

TK


On 6/8/2017 4:23 AM, tmday88@... [DynoMotion] wrote:
 

Hi Tom,

All looks good. :)

Thanks,
Troy